<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/OnlineResortReservation/adminpages/js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

<script src="/OnlineResortReservation/adminpages/js/vendor/bootstrap.min.js"></script>
<script src="/OnlineResortReservation/adminpages/js/main.js"></script>

<div class="box">

    <legend>
        Membership Types
    </legend>


    <table class="table table-bordered white">
        <thead>
            <tr>
                <th>#</th>
                <th>Membership Type Name</th>
                <th>Fees (Rs.)</th>
                <th>Time (months)</th>
                <th>Discount (%)</th>
                <th>Description</th>
                <th>Edit</th>
                <th>Delete</th>
            </tr>
        </thead>

        <tbody>


            <c:forEach var="mem" items="${adds}">

                <tr>
            <form id="viewmembertype" action="mem" method="post">
                <input type="hidden" name="id" value="${mem.memid}">
                <td>${mem.memid}</td>
                <td>${mem.memtypename}</td>
                <td>${mem.timepeirod}</td>
                <td>${mem.fees}</td>
                <td>${mem.discount}</td>
                <td>${mem.description}</td>

                <td><a href="UpdateMemTypeServlet?id=${mem.memid}" class="btn btn-info btn-mini edit-button" name="MemTypeEdit"><i class="icon-edit icon-white"></i> Edit</a></td>
                <td><a href="DeleteMembershipType?id=${mem.memid}" class="btn btn-danger delete-button btn-mini" name="MemTypeEdit"><i class="icon-trash icon-white"></i> Delete</a></td>
                <%-- <td><button type="button" class="btn btn-danger delete-button btn-mini" name="MemTypeDelete" onclick=""><i class="icon-trash icon-white"></i> Delete</button></td>--%>
            </form>
            </tr>

        </c:forEach>

        </tbody>
    </table>

</div>






